package examples.jsf.event;

import examples.jsf.lifecycle.Lifecycle;
import examples.jsf.context.FacesContext;

/**
 * @author Bill
 * @version 2013-05-29
 */
public class PhaseEvent {

    private PhaseId phaseId;
    private FacesContext facesContext;
    private Lifecycle lifecycle;

    public PhaseEvent(FacesContext facesContext,PhaseId phaseId, Lifecycle lifecycle) {
        this.phaseId = phaseId;
        this.facesContext = facesContext;
        this.lifecycle = lifecycle;
    }

    public PhaseId getPhaseId() {
        return phaseId;
    }

    public FacesContext getFacesContext() {
        return facesContext;
    }

    public Lifecycle getLifecycle() {
        return lifecycle;
    }
}
